Update qr-code-scanner extension#26336
Conversation
|
Thank you for your contribution! 🎉 🔔 @StevenRCE0 you might want to have a look. You can use this guide to learn how to check out the Pull Request locally in order to test it. 📋 Quick checkout commandsBRANCH="ext/qr-code-scanner"
FORK_URL="https://github.com/MoienTajik/raycast-extensions.git"
EXTENSION_NAME="qr-code-scanner"
REPO_NAME="raycast-extensions"
git clone -n --depth=1 --filter=tree:0 -b $BRANCH $FORK_URL
cd $REPO_NAME
git sparse-checkout set --no-cone "extensions/$EXTENSION_NAME"
git checkout
cd "extensions/$EXTENSION_NAME"
npm install && npm run devWe're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 10-15 business days. |
Greptile SummaryThis PR replaces the npm
Confidence Score: 5/5
Important Files Changed
Last reviewed commit: 25319ca |
|
This pull request has been automatically marked as stale because it did not have any recent activity. It will be closed if no further activity occurs in the next 7 days to keep our backlog clean 😊 |
- Introduced a new preference to automatically open decoded URLs after scanning. - Updated dependencies for improved functionality and security. - Refactored QR code decoding to use async/await for better error handling. - Added ESLint configuration for consistent code quality.
0xdhrv
left a comment
There was a problem hiding this comment.
Looks good to me, approved ✅
|
Published to the Raycast Store: |
|
🎉 🎉 🎉 We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag. |
Description
Fixed URL opening behavior in the QR Code Scanner extension. Previously, when a QR code contained a URL, the extension used the npm open package which bypassed macOS's native URL dispatch system, causing all URLs to open in the browser regardless of registered app handlers (deep-links).
Changes:
openpackage with Raycast's built-inopenfrom@raycast/api, which correctly delegates to macOS's nativeopencommand and respects universal links and custom URL scheme registrationsopennpm dependency frompackage.jsonnpm run publishscript topackage.jsonChecklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder